<template>

    <el-dialog v-model="useTokenStore().loginPrompt" width="468px" align-center>
      <div class="box">
        <span>温馨提示</span>
        <span>请登录后查看</span>
        <div class="bts">
          <button @click="gologin">去登录</button>
          <button @click="useTokenStore().setLoginPrompt(false)">取消</button>
        </div>
      </div>
    </el-dialog>
</template>
<script setup lang="ts">

import {useTokenStore} from '@/store/modules/tokenStore'
import { goWxLogin } from '@/utils/uuid'

function gologin() {
  goWxLogin()
}
</script>
<style lang="less" scoped>
.box {
  width: 100%;
  height: 279px;
  position: relative;
}
</style>
